\documentclass[UTF8]{ctexart}
\usepackage{xcolor}
\usepackage{minted}

\title{杂谈勾股定理}
\author{xuan}
\date{\today}

\bibliographystyle{plain}

\begin{document}


$$
\textbf{待优化标：}
\max=\sum_{i=1}^{54}\sum_{j = 1}^{41}(x_{ij} \cdot Q_{ij} \cdot pri_{ij}-x_{ij} \cdot C_{ij})-\sum_{j=1}^{41}max\left \{  \sum_{i=1}^{54}{x_{ij} \cdot Q_{ij}}-need_j,0\right \} \cdot pri_{ij}
$$

$$
\textbf{每块土地的产量约束：}
\sum_{j = 1}^{41} x_{ij}^t\leq Z_i
$$

$$
\textbf{重茬种植约束：}
0\le x_{ij}^t \leq P_{ij} \cdot (Z_i-x_{ij}^{t-1})
$$

$$
\textbf{三年种豆约束：}
(Z_i-\sum_{l=1}^{3} x_{ij}^{t-l})\le x_{ij}^t\leq Z_i, j \in 豆类
$$

$$
\textbf{水浇地种植面积约束：}
\begin{cases}
    0\le 2 \cdot x_{i16}+\sum_{j=17}^{37}x_{ij}\leq 2 \cdot Z_{i} \\
    0\le\sum_{j = 17}^{34}x_{ij}\leq Z_{i} \\
    0\le \sum_{j = 35}^{37}x_{ij}\leq Z_{i} 
  \end{cases}
$$

$$
\textbf{水浇地种植面积约束：}
\left\{\begin{array}{l}
  0\le 2 \cdot x_{i16}+\sum_{j=17}^{37}x_{ij}\leq 2 \cdot Z_{i} \:, (0 \le x_{ij}\leq Z_i,i\in [27,34])   \\
  0\le\sum_{j = 17}^{34}x_{ij}\leq Z_{i}  \:, (0 \le x_{ij}\leq Z_i,i\in [27,34]) \\
  0\le\sum_{j = 17}^{34}x_{ij}\leq Z_{i}   \:, (0 \le x_{ij}\leq Z_i,i\in [27,34])
\end{array}\right.
$$

$$
\left\{
\begin{array}{l}
    0 \le 2  \cdot  x_{i16} + \sum_{j=17}^{37} x_{ij} \leq 2  \cdot  Z_{i} \:, \quad (0 \le x_{ij} \leq Z_i, i \in [27,34])   \\
    0 \le \sum_{j = 17}^{34} x_{ij} \leq Z_{i} \:, \quad (0 \le x_{ij} \leq Z_i, i \in [27,34]) \\
    0 \le \sum_{j = 17}^{34} x_{ij} \leq Z_{i} \:, \quad (0 \le x_{ij} \leq Z_i, i \in [27,34])
\end{array}
\right.
$$

$$
\begin{minted}{python}
  # 这是一个简单的Python代码示例
  print("Hello, World!")
  for i in range(10):
      print(i)
  \end{minted}
$$

\end{document}



